package com.xxq.dao;
import com.xxq.entity.Ad_Login;

import my.db.QueryHelper;

public class Ad_loginDao {
	public Ad_Login findByNameAndPwd(String uname, String password) {
		String sql = "select * from adlogin  where loginname = ? and password = ?";
		return QueryHelper.queryUnique(Ad_Login.class, sql,uname,password);	
	}
}
